package com.hxw.schema.decorator;

/**
 * Created by Think on 2018/5/4.
 * 服装抽象类
 */
public class Finery extends Person {
    private Person person;
    public void decorate(Person person){
        this.person = person;
    }

    @Override
    public void show(){
        if(person != null){
            person.show();
        }
    }
}
